package com.antu.first.bean;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2018/3/3.
 */
public class Hotel {

    private int hId;//Id

    private String hName;//The name of the hotel

    private String hAddr;//The address of this hotel

    private String hTel;//The telephone of this hotel

    private String hProFile;//图片地址

    private String hDesc;//酒店描述

    private int hPopular;//人气

    private double hGrade;//评分

    private double hStar;//星级

    private int hStatus;//状态

    private Date hCreateTime;//创建时间

    private Date hLastEditTime;//最后一次更改时间

    private String hPayee;//商户收款账号

    private double hMinPrice;//最低价格

    private List<Swiper> swipers;//酒店详情轮播图

    private Merchant owner;//所有者信息

    private List<RoomType> roomTypes;//酒店的房间类型信息

    private List<Room> rooms;//酒店的房间信息

    private List<DiscountCoupon> discountCoupons;//优惠券信息

    private List<Indent> indents;//酒店订单信息

    private List<Comment> comments;//酒店评论

    private List<Reply> repliesl;//酒店回复

    public Hotel() {
    }

    public Hotel(int hId, String hName, String hAddr, String hTel, String hProFile, String hDesc, int hPopular, double hGrade, double hStar, int hStatus, Date hCreateTime, Date hLastEditTime, String hPayee, double hMinPrice, List<Swiper> swipers, Merchant owner, List<RoomType> roomTypes, List<Room> rooms, List<DiscountCoupon> discountCoupons, List<Indent> indents, List<Comment> comments, List<Reply> repliesl) {

        this.hId = hId;
        this.hName = hName;
        this.hAddr = hAddr;
        this.hTel = hTel;
        this.hProFile = hProFile;
        this.hDesc = hDesc;
        this.hPopular = hPopular;
        this.hGrade = hGrade;
        this.hStar = hStar;
        this.hStatus = hStatus;
        this.hCreateTime = hCreateTime;
        this.hLastEditTime = hLastEditTime;
        this.hPayee = hPayee;
        this.hMinPrice = hMinPrice;
        this.swipers = swipers;
        this.owner = owner;
        this.roomTypes = roomTypes;
        this.rooms = rooms;
        this.discountCoupons = discountCoupons;
        this.indents = indents;
        this.comments = comments;
        this.repliesl = repliesl;
    }

    public int gethId() {

        return hId;
    }

    public void sethId(int hId) {
        this.hId = hId;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName;
    }

    public String gethAddr() {
        return hAddr;
    }

    public void sethAddr(String hAddr) {
        this.hAddr = hAddr;
    }

    public String gethTel() {
        return hTel;
    }

    public void sethTel(String hTel) {
        this.hTel = hTel;
    }

    public String gethProfile() {
        return hProFile;
    }

    public void sethProfile(String hProFile) {
        this.hProFile = hProFile;
    }

    public String gethDesc() {
        return hDesc;
    }

    public void sethDesc(String hDesc) {
        this.hDesc = hDesc;
    }

    public int gethPopular() {
        return hPopular;
    }

    public void sethPopular(int hPopular) {
        this.hPopular = hPopular;
    }

    public double gethGrade() {
        return hGrade;
    }

    public void sethGrade(double hGrade) {
        this.hGrade = hGrade;
    }

    public double gethStar() {
        return hStar;
    }

    public void sethStar(double hStar) {
        this.hStar = hStar;
    }

    public int gethStatus() {
        return hStatus;
    }

    public void sethStatus(int hStatus) {
        this.hStatus = hStatus;
    }

    public Date gethCreateTime() {
        return hCreateTime;
    }

    public void sethCreateTime(Date hCreateTime) {
        this.hCreateTime = hCreateTime;
    }

    public Date gethLastEditTime() {
        return hLastEditTime;
    }

    public void sethLastEditTime(Date hLastEditTime) {
        this.hLastEditTime = hLastEditTime;
    }

    public String gethPayee() {
        return hPayee;
    }

    public void sethPayee(String hPayee) {
        this.hPayee = hPayee;
    }

    public double gethMinPrice() {
        return hMinPrice;
    }

    public void sethMinPrice(double hMinPrice) {
        this.hMinPrice = hMinPrice;
    }

    public List<Swiper> getSwipers() {
        return swipers;
    }

    public void setSwipers(List<Swiper> swipers) {
        this.swipers = swipers;
    }

    public Merchant getOwner() {
        return owner;
    }

    public void setOwner(Merchant owner) {
        this.owner = owner;
    }

    public List<RoomType> getRoomTypes() {
        return roomTypes;
    }

    public void setRoomTypes(List<RoomType> roomTypes) {
        this.roomTypes = roomTypes;
    }

    public List<Room> getRooms() {
        return rooms;
    }

    public void setRooms(List<Room> rooms) {
        this.rooms = rooms;
    }

    public List<DiscountCoupon> getDiscountCoupons() {
        return discountCoupons;
    }

    public void setDiscountCoupons(List<DiscountCoupon> discountCoupons) {
        this.discountCoupons = discountCoupons;
    }

    public List<Indent> getIndents() {
        return indents;
    }

    public void setIndents(List<Indent> indents) {
        this.indents = indents;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    public List<Reply> getRepliesl() {
        return repliesl;
    }

    public void setRepliesl(List<Reply> repliesl) {
        this.repliesl = repliesl;
    }

    @Override
    public String toString() {
        return "Hotel{" +
                "hId=" + hId +
                ", hName='" + hName + '\'' +
                ", hAddr='" + hAddr + '\'' +
                ", hTel='" + hTel + '\'' +
                ", hProfile='" + hProFile + '\'' +
                ", hDesc='" + hDesc + '\'' +
                ", hPopular=" + hPopular +
                ", hGrade=" + hGrade +
                ", hStar=" + hStar +
                ", hStatus=" + hStatus +
                ", hCreateTime=" + hCreateTime +
                ", hLastEditTime=" + hLastEditTime +
                ", hPayee='" + hPayee + '\'' +
                ", hMinPrice=" + hMinPrice +
                ", swipers=" + swipers +
                ", owner=" + owner +
                ", roomTypes=" + roomTypes +
                ", rooms=" + rooms +
                ", discountCoupons=" + discountCoupons +
                ", indents=" + indents +
                ", comments=" + comments +
                ", repliesl=" + repliesl +
                '}';
    }
}
